from sqlalchemy import create_engine
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import sessionmaker

Base = declarative_base()

engine = create_engine("mysql+pymysql://zhuxiaolin:3cc4c8f1c796c3f5@mysql.sqlpub.com:3306/msgapp")
Session = sessionmaker(bind=engine)
session = Session()
